package com.xyh.service;


import com.xyh.pojo.entity.Student;
import com.xyh.pojo.vo.StudentVo;
import com.xyh.util.Result;

import java.util.List;

/**
* @author 丁德成
* @description 针对表【student】的数据库操作Service
* @createDate 2023-04-12 18:52:22
*/
public interface StudentService{
    /**
     * 分页条件查询
     * @param current
     * @param pageSize
     * @param stuVo
     * @return
     */
    public Result findByPage(Integer current, Integer pageSize, StudentVo stuVo);

    /**
     * id查询
     * @param smpno
     * @return
     */
    Result findById(Integer smpno);

    /**
     * 新增
     * @param student
     * @return
     */
    Result insertOneSOS(Student student);

    Result deleteByIdSOS(Integer smpno);

    Result updateSOS(Student student);

}
